/**
 * Created by RuiFight-3 on 2017/6/8.
 */
function winShow(name){
    var wH=$(window).height();
    $("."+name).css({"display":"block"});
    var o2H= $("."+name+" .tanchuangCont").innerHeight();
    var t=(wH-o2H)/2;
    $("."+name+" .tanchuangCont").animate({top:t});
    $("."+name).fadeIn();

};
function winHide(name){
    $("."+name).fadeOut();
    setTimeout(function(){
        $("."+name+" .tanchuangCont").animate({top:0});
    },500);

}